package com.caine.goods.service;

import com.caine.goods.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.caine.goods.vo.OrderVO;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author   V   
 * @since 2021-01-04
 */
public interface IGoodsService extends IService<Goods> {
    boolean reduceStock(OrderVO vo);
}
